{extend name="public/base" /}
{block name="main-content"}
	<div class="page-content">
		<div class="row">
			<div class="col-xs-12">
				<!-- 提示 -->
				<div class="alert alert-block alert-success">
					<button type="button" class="close" data-dismiss="alert">
						<i class="ace-icon fa fa-times"></i>
					</button>
					<i class="ace-icon fa fa-check green"></i>
					为了您更好的使用本系统，建议屏幕分辨率1280*768以上，并且安装chrome谷歌浏览器 ——— <a href="{:url('Help/soft')}">进入软件下载专区</a>
				</div>
				<div class="row">
					<div class="space-6"></div>
					<div class="col-sm-7 infobox-container">
						<div class="row">
							<div class="col-xs-12">
								<h3 class="header smaller lighter green">快捷入口</h3>

								<p>
									<a href="{:url('Url/index', ['u_id' => 1])}" class="btn btn-default btn-app" style="margin: 10px">
										<i class="icon-cog bigger-230" style="padding-left: 10px;"></i>
										<br />
										站点设置
										<!--<span class="badge badge-pink">+3</span>-->
									</a>


									<a href="{:url('Url/index', ['u_id' => 2])}" class="btn btn-app btn-primary" style="margin: 10px">
										<i class="icon-edit bigger-230" style="padding-left: 10px;"></i>
										<br />
										发布文章
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>

									<a href="{:url('Url/index', ['u_id' => 3])}" class="btn btn-app btn-success" style="margin: 10px">
										<i class="icon-asterisk bigger-230" style="padding-left: 10px;"></i>
										<br />
										文章列表
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>
									<a href="{:url('Url/index', ['u_id' => 4])}" class="btn btn-app btn-warning" style="margin: 10px">
										<i class="icon-flag bigger-230" style="padding-left: 10px;"></i>
										<br />
										企业简介
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>


									<a href="{:url('Url/index', ['u_id' => 5])}" class="btn btn-app btn-info" style="margin: 10px">
										<i class="icon-heart bigger-230" style="padding-left: 10px;"></i>
										<br />
										荣誉资质
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>

									<a href="{:url('Url/index', ['u_id' => 6])}" class="btn btn-app btn-danger" style="margin: 10px">
										<i class="icon-key bigger-230" style="padding-left: 10px;"></i>
										<br />
										经营理念
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>

									<a href="{:url('Url/index', ['u_id' => 7])}" class="btn btn-app btn-purple" style="margin: 10px">
										<i class="icon-coffee bigger-230" style="padding-left: 10px;"></i>
										<br />
										企业精神
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>
									<a href="{:url('Url/index', ['u_id' => 8])}" class="btn btn-app btn-danger" style="margin: 10px">
										<i class=" icon-bookmark bigger-230" style="padding-left: 10px;"></i>
										<br />
										行为准则
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>

									<a href="{:url('Url/index', ['u_id' => 9])}" class="btn btn-app btn-pink" style="margin: 10px">
										<i class="icon-camera bigger-230" style="padding-left: 10px;"></i>
										<br />
										轮播图片
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>



									<a href="{:url('Url/index', ['u_id' => 10])}" class="btn btn-app btn-grey" style="margin: 10px">
										<i class="icon-bullhorn bigger-230" style="padding-left: 10px;"></i>
										<br />
										滚动通知
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>

									<a href="{:url('Url/index', ['u_id' => 11])}" class="btn btn-app btn-light" style="margin: 10px">
										<i class="icon-bar-chart bigger-230" style="padding-left: 10px;"></i>
										<br />
										菜单管理
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>

									<a href="{:url('Url/index', ['u_id' => 12])}" class="btn btn-app btn-yellow" style="margin: 10px">
										<i class="icon-lemon bigger-230" style="padding-left: 10px;"></i>
										<br />
										管理员管理
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>
									<a href="{:url('Url/index', ['u_id' => 13])}" class="btn btn-app btn-inverse" style="margin: 10px">
										<i class="icon-envelope bigger-230" style="padding-left: 10px;"></i>
										<br />
										联系我们
										<!--<span class="badge badge-warning badge-left">11</span>-->
									</a>


								</p>
							</div>
						</div>

						<div class="row">
							<div class="col-xs-12">
								<div class="space-6"></div>
							</div>
						</div>

						<div class="widget-box sl-indextop10 text-left">
							<div class="widget-header">
								<h5 class="widget-title"><span style="font-size:14px; font-family:Microsoft YaHei">框架&系统信息</span></h5>

							</div>
							<div class="widget-body">
								<div class="widget-main">
									<p class="alert alert-danger sl-line-height25">
										后台版本：{$Think.config.yfcmf_version} &nbsp;
										{if condition="!empty($update_check)"}
										{if condition="empty($ver_last)"}
											<button class="btn btn-xs btn-success"><i class="ace-icon fa fa-check"></i>{$ver_str}</button>
										{else /}
											<a href="{:url('Update/index')}" title="在线更新"><button class="btn btn-xs btn-danger"><i class="ace-icon fa fa-bolt bigger-110"></i>{$ver_str}</button></a>
										{/if}
										{/if}
										<br />
										框架版本：ThinkPHP{$info.ThinkPHPTYE}&nbsp;&nbsp;上传附件限制：{$info.ONLOAD}<br />
										系统版本：{$info.RUNTYPE}<br />
									</p>
								</div>
							</div>
						</div>

					</div>

					<div class="vspace-12-sm"></div>

					<div class="col-sm-5">
						<!-- 文章排行开始 -->
						<div class="widget-box widget-color-blue">
							<div class="widget-header">
								<h5 class="widget-title bigger lighter sl-font14">
									<i class="ace-icon fa fa-table"></i>
									<span style="font-size:14px; font-family:Microsoft YaHei">热门文章排行</span>
								</h5>
							</div>
							<div class="widget-body">
								<div class="widget-main no-padding">
									<table class="table table-striped table-bordered table-hover">
										<thead class="thin-border-bottom">
										<tr>
											<th width="68%">标题</th>
											<th width="17%"><em>点击数</em></th>
										</tr>
										</thead>
										<tbody>
										{php}
										$color=array("badge badge-pink","badge badge-yellow","badge badge-danger","badge badge-warning","badge badge-success","badge badge-inverse","badge badge-purple","badge badge-info","badge badge-grey","badge");
										{/php}
										{foreach name="news_list" item="v" key="k"}
										<tr>
											<td height="25"><span class="{$color[$k]}">{$k+1}</span><a href="{:url('home/News/index',array('id'=>$v['n_id']))}" target="_blank">{$v.news_title}</a></td>
											<td>{$v.news_hits}</td>
										</tr>
										{/foreach}
										</tbody>
									</table>
								</div>
							</div>
						</div>
						<!-- 文章排行结束 -->
						<div class="panel panel-default">
							<div class="panel-heading">
								<i class="ace-icon fa fa-wrench"></i>
								<span class=""></span> 日常维护
							</div>
							<table class="table">
								<tbody>
								<tr>
									<td colspan="2">
										<a href="{:url('Sys/maintain',array('action'=>'download_log'))}" target="_blank" class="btn btn-default maintain">下载日志</a>
										<a href="{:url('Sys/maintain',array('action'=>'view_log'))}" target="_blank" class="btn btn-default maintain">查看日志</a>
										<a href="{:url('Sys/maintain',array('action'=>'clear_log'))}" class="btn btn-default rst-url-btn maintain">清除日志</a>
										{if condition="$danger_mode_debug"}
										<a href="{:url('Sys/maintain',array('action'=>'debug_off'))}" class="btn btn-default rst-url-btn maintain">关闭调试</a>
										{else /}
										<a href="{:url('Sys/maintain',array('action'=>'debug_on'))}" class="btn btn-default rst-url-btn maintain">打开调试</a>
										{/if}
										{if condition="$system_pageshow"}
										<a href="{:url('Sys/maintain',array('action'=>'trace_off'))}" class="btn btn-default rst-url-btn maintain">关闭Trace</a>
										{else /}
										<a href="{:url('Sys/maintain',array('action'=>'trace_on'))}" class="btn btn-default rst-url-btn maintain">打开Trace</a>
										{/if}
									</td>
								</tr>
								<tr>
									<td>日志大小 : {$log_size|format_bytes}</td>
									<td>日志数 : {$log_file_cnt}</td>
								</tr>
								</tbody>
							</table>
						</div>


				</div><!-- /.col -->
			</div><!-- /.row -->
		</div><!-- /.col -->
	</div><!-- /.row -->
	</div>
{/block}